local harpoon = require("harpoon")

harpoon:setup()

local map = vim.keymap.set
map("n", "<leader>a", function() harpoon:list():append() end)
map("n", "<leader>h", function() harpoon.ui:toggle_quick_menu(harpoon:list()) end)

for i = 1, 9 do
  map("n", string.format("<leader>%d", i), function() harpoon:list():select(i) end)
end
